const supplier = {
  query: `GET /api/v1/supplier/search`,
  shortQuery: `GET /api/v1/supplier/search/short`,
  queryCurrent: `GET /api/v1/supplier/{id}`,
  queryCompany: `GET /api/v1/supplier/company/{id}`,
  create: `POST /api/v1/supplier`,
  update: `PUT /api/v1/supplier`,
  remove: `POST /api/v1/supplier/deletions`,
  updateCompany: `PUT /api/v1/supplier/company`,
  queryAccounts: `GET /api/v1/supplier/user/search`,
  lockAccount: `POST /api/v1/supplier/user/lock`,
  unlockAccount: `POST /api/v1/supplier/user/unlock`,
  resetPwd: `POST /api/v1/supplier/user/reset/password`,
  removeAccounts: `POST /api/v1/supplier/user/deletions`,
  createAccount: `POST /api/v1/supplier/user`,
  updateAccount: `PUT /api/v1/supplier/user`,
  queryContacts: `GET /api/v1/supplier/contacts/search`,
  createContact: `POST /api/v1/supplier/contacts`,
  updateContact: `PUT /api/v1/supplier/contacts`,
  removeContacts: `POST /api/v1/supplier/contacts/deletions`,
  queryBd: `GET /api/v1/supplier/business/search`,
  createBd: `POST /api/v1/supplier/business`,
  updateBd: `PUT /api/v1/supplier/business`,
  removeBd: `POST /api/v1/supplier/business/deletions`,
  audit: `POST /api/v1/supplier/audit/{id}`,
  checkCode: `GET /api/v1/supplier/user/check`,
  dealApply: 'POST /api/v1/supplier/{id}/supplierApprove',
  submitApply: 'POST /api/v1/supplier/submit',
  queryBasicCompany: `GET /api/v1/supplier/company/basic/{id}`,
  updateBasicCompany: `POST /api/v1/supplier/company/basic`,
  queryServiceQuality: `GET /api/v1/supplier/company/attachment/{id}`,
  updateServiceQuality: `POST /api/v1/supplier/company/attachment/{id}`,
  queryWarehouse: `GET /api/v1/supplier/company/warehouse/{id}`,
  queryServicePeriod: `GET /api/v1/supplier/company/business/date/{id}`,
  updateServicePeriod: `POST /api/v1/supplier/company/business/date/{id}`,
  downAttachments: `GET /api/v1/supplier/company/download/attachment/{id}`,
  cosplay: `POST /api/v1/supplier/cosplay/{id}`,
  searchSupplier: 'GET /api/v1/supplier/search',
  incentive: {
      // 新建更新记录，更新时带id
      update: 'POST /api/v1/after/sales/supplier/incentive',
    
      // 列表搜索
      list: 'GET /api/v1/after/sales/supplier/incentive/list',
    
      // 获取罚款状态
      state: 'GET /api/v1/after/sales/supplier/incentive/state',
    
      // 获订单关联的服务商信息
      supplier: 'GET /api/v1/after/sales/supplier/incentive/waybill/{waybillNo}/supplier',
    
      // 获取记录信息
      detail: 'GET /api/vT1/after/sales/supplier/incentive/{id}',
    
      // 惩罚收款处理
      deal: 'POST /api/v1/after/sales/supplier/incentive/{id}/receive/{money}',

      // 查询下载结果
      queryImportResult: 'POST /api/v1/after/sales/supplier/incentive/excelImport',

      // 保存导入excel数据
      saveImportResult: 'POST /api/v1/after/sales/supplier/incentive/saveExcelData',

      // 删除记录信息
      delete: 'DELETE /api/v1/after/sales/supplier/incentive/{id}',
  }
};

export default supplier;

